package com.yfl.tingyu.service.impl;

import com.yfl.tingyu.pojo.Menu;
import com.yfl.tingyu.mapper.MenuMapper;
import com.yfl.tingyu.service.IMenuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2020-05-26
 */
@Service
public class MenuServiceImpl extends ServiceImpl<MenuMapper, Menu> implements IMenuService {

    @Override
    public List<Menu> selectAdminMenu(Integer aid) {
        return baseMapper.selectAdminMenu(aid);
    }

    @Override
    public List<Menu> allList() {
        return baseMapper.allList();
    }
}
